package com.cskaoyan.shopping.dal.entitys;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author lixinhang
 * @Time 2022/9/21 10:37
 */
@Table(name = "tb_stock")
@Data
public class Stock {
    @Id
    @KeySql(useGeneratedKeys = true)
    Long itemId;
    Long stockCount;
    Integer lockCount;
    Integer restrictCount;
    Integer sellId;
}
